package com.lala.consumer.service;


import com.github.pagehelper.PageInfo;
import com.lala.commom.pojo.Teacher;
import com.lala.commom.pojo.User;
import com.lala.consumer.client.TeacherClient;
import com.lala.consumer.client.UserClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TeacherServiceImpl implements TeacherService {

    @Autowired
    private TeacherClient teacherClient;

    @Override
    public PageInfo<Teacher> selectTeacher(int p, int s) {
        return teacherClient.selectTeacher(p,s);
    }
}
